<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{ \App\Models\Website::where('vars','sitetitle')->first()->title }}</title>
    <meta name="keywords" content="{{ \App\Models\Website::where('vars','sitekeyword')->first()->title }}" />
    <link rel="stylesheet" href="style/style.css">
    <link rel="stylesheet" href="style/swiper.min.css">
    <script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="js/swiper.min.js"></script>
</head>
<body>
<header class="header">
    <nav class="navbar fixed-top scroll py-md-4 clear">
        <div class="container">
            <img class="logo" src="images/logo.png" alt="">
            <ul>
                @foreach (\App\Models\Navigation::where('status',1)->get() as $user)
                    <li><a href="{{ $user->url }}">{{ $user->title }}</a></li>
                @endforeach
            </ul>
            <div class="search">
                <input type="text" class="search-input">
                <img class="search_a" src="images/search.png" alt="">
            </div>
            <div class="user_login">
                <a href="">登录</a>
                <a href="">注册</a>
            </div>
        </div>

    </nav>

</header>

<section id="container">
@yield('content')
</section>


<footer id="foot">
    <div class="foot container clear">
        <div class="about_web">
            <a href="" class="first">关于我们</a>
            <a href="">联系我们</a>
            <a href="" class="last">免责声明</a>
        </div>
        <div class="link clear">
            友情链接：
            <a href="">测试链接</a>
        </div>
        <div class="copyright">
            <p>川公网安备 44010602001691  川ICP备 12051153  安全联盟行业验证</p>
            <p>Copyright © 2011-2020 cyqg.cn 版权所有</p></div>
    </div>
</footer>

<div class="fiexd">
    <li><img src="images/wechat.png"></li>
    <li><img src="images/kf.png"></li>
    <li><img src="images/top.png"></li>
</div>

@yield("script")
</body>
</html>
